<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML>
  <HEAD><TITLE>Login</TITLE></HEAD>
  <SCRIPT>
function signon() {
  var form = document.forms[0];
  var elts = form.operation;
  for (var elt in elts) {
   if (elts[elt].checked==true) {
     window.open(elts[elt].value + ".php?user=" + form.user.value + "&pw=" + form.pw.value);
    }
  }
}
  </SCRIPT>
  <BODY>
    <FORM ID="theform" METHOD = "post" NAME = "login"
ACTION="javascript: signon();">
      User Name: <INPUT TYPE = "text" NAME = "user"/><BR>
      Password: <INPUT TYPE = "password" NAME = "pw"/><BR>
      <INPUT TYPE="radio" NAME="operation" VALUE="query"/>Query
      <INPUT TYPE="radio" NAME="operation" VALUE="update"/>Update <BR>
      <INPUT TYPE="submit" NAME="Submit"/>
    </FORM>
  </BODY>
</HTML>


